package com.fy.common.exception;

import com.fy.module.qu.common.enums.ApiErrorEnum;

/**
 * 江迪
 */
public class ServiceException extends RuntimeException{

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(ApiErrorEnum apiErrorEnum) {
        super(apiErrorEnum.getMsg());
    }

}


